RPdirect(phi, loggauss, root_method, svdtolerance, max_variab) RPsequential(phi, loggauss, max_variables, back_steps, initial)
RMmodel
;
specifies the covariance model to be simulated.root_method=1
or 3
, Cholesky
decomposition will not be attempted, but singular value
decomposition
performed instead.
In case of a multivariate random field, root_method = 2
svdtolerance
. No check is performaxvariables
, then any matrix decomposition
method is rejected. It is important that this option is set
conveniently to avoid great losses of time during the automatic
search of a simmax
/ (number of spatial points).
Default: 5
.back_steps
number of points are simulated. Then, sequentially,
all spatial points for the next time instance
are simulated at once, based on the previous back_steps
instances. TheRMmodel
set.seed(0)
model <- RMgauss(var=10, s=10) + RMnugget(var=0.01)
z <- RFsimulate(model=RPdirect(model), 0:10, 0:10, grid=TRUE, n=4)
plot(z)
cov <- RFcov(model=model, 1:10)
Print(cov)
Run the code above in your browser using DataLab